package oop;

public class TestDriver {


    /**
     *
     */

    public static void main(String[] args) {

        System.out.println("------------------------");
        Student stu = test01();//调用封装的类，以访问修饰符的方式
        //test01();

    }
    /**
     * 封装的访问控制修饰符
     */

    public  static  Student test01(){

        //Student类的实例化
        Student stu = new Student();//new 操作符调用的是后面类的构造方法

        Student stu1 = new Student("张三","101011");

        Student stu2 = new Student("李四","10111","计算机",90);


        return null;
    }
}
